#!/usr/bin/python
# -*- coding: UTF-8 -*-
#!/usr/bin/env python

import BaseHTTPServer, CGIHTTPServer

port = 8080

httpd = BaseHTTPServer.HTTPServer(('', port), CGIHTTPServer.CGIHTTPRequestHandler)
print ('starting simple_httpd on port :' + str(httpd.server_port))
httpd.serve_forever()
print "serving at port", PORT
httpd.serve_forever()